MPHB\Advanced\Api\Controllers\AbstractRestTermsController B

Total Complexity 76
Dependencies 5
Dependents 0
Total lines 849
Lines of code 559
Logical lines of code 206
Comment lines 188
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_items()
A
38 13 67
create_item()
A
43 10 48
update_item()
A
46 10 40
check_permissions()
S
54 6 22
delete_item()
S
49 5 31
register_routes()
S
39 1 82
get_collection_params()
S
40 1 79
prepare_links()
S
53 4 23
get_item_schema()
S
44 2 53
prepare_item_for_response()
S
54 3 19
batch_items_permissions_check()
S
60 3 14
delete_item_permissions_check()
S
60 3 14
update_item_permissions_check()
S
60 3 14
get_items_permissions_check()
S
60 3 14
get_item_permissions_check()
S
60 3 14
create_item_permissions_check()
S
60 3 14
get_item()
S
66 2 8
update_term_meta_fields()
S
82 1 3